package com.zhanghe.study.action;

import org.apache.struts2.interceptor.ApplicationAware;
import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.SessionAware;

import java.util.Map;

/**
 * @author zh
 * @date 2020/12/21 15:56
 */
public class TestAwareAction implements ApplicationAware, SessionAware, RequestAware {
    private Map<String,Object> application;

    private Map<String,Object> session;

    private Map<String,Object> request;
    @Override
    public void setApplication(Map<String, Object> application) {
        this.application = application;
    }

    @Override
    public void setRequest(Map<String, Object> request) {
        this.request = request;
    }

    @Override
    public void setSession(Map<String, Object> session) {
        this.session = session;
    }
}
